<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/pintuer.js"></script>
</head>

<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>增加请假</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="?action=add">
            <%--<div class="form-group">
                <div class="label">
                    <label>请假编号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${leave.leaveID}" name="leaveID" data-validate="required:请输入请假编号" />
                    <div class="tips"></div>
                </div>
            </div>--%>
            <div class="form-group">
                <div class="label">
                    <label>课程编号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${leave.courseID}" name="courseID" data-validate="required:请输入课程编号" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>请假事由：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="reason" value="${leave.reason}" data-validate="请假事由不能为空！" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>天数：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="daynum" value="${leave.daynum}" data-validate="天数不能为空！" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>学号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="stuNo" value="${leave.stuNo}" data-validate="学号不能为空！" />
                    <div class="tips"></div>
                </div>
            </div>
           <div class="form-group">
                <div class="label">
                    <label>请假时间：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="applytime" value="${leave.applytime}" data-validate="请假时间不能为空！" />
                    <div class="tips"></div>
                </div>
            </div>
           <%--<div class="form-group">
                   <div class="label">
                       <label>状态：</label>
                   </div>
                   <div class="field">
                       <input type="text" class="input w50" name="status" value="${leave.status}" data-validate="状态不能为空！" />
                       <div class="tips"></div>
                   </div>
               </div>
               <div class="form-group">
                   <div class="label">
                       <label>审核时间：</label>
                   </div>
                   <div class="field">
                       <input type="text" class="input w50" name="datetime" value="${leave.datetime}" data-validate="审核时间不能为空！" />
                       <div class="tips"></div>
                   </div>
               </div>--%>
            <%--<div class="form-group">
                <div class="label">
                    <label>审核意见：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="opinion" value="${leave.opinion}" data-validate="审核意见不能为空！" />
                    <div class="tips"></div>
                </div>
            </div>--%>
<%--
                <div class="form-group">
                    <div class="label">
                        <label>状态：</label>
                    </div>
                    <div class="field">
                        <select name="status" class="input w50">
                            <option value="">请选择状态</option>
                            <option value="0">禁用</option>
                            <option value="1">正常</option>
                        </select>
                        <div class="tips"></div>
                    </div>
                </div>
--%>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body></html>
